
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.SystemRight;
import com.cmc.dao.SystemRightDao;

public interface SystemRightManager extends Manager {
    /**
     * Retrieves all of the systemRights
     */
    public List getSystemRights(SystemRight systemRight);

    /**
     * Gets systemRight's information based on id.
     * @param id the systemRight's id
     * @return systemRight populated systemRight object
     */
    public SystemRight getSystemRight(final String id);

    /**
     * Saves a systemRight's information
     * @param systemRight the object to be saved
     */
    public void saveSystemRight(SystemRight systemRight);

    /**
     * Removes a systemRight from the database by id
     * @param id the systemRight's id
     */
    public void removeSystemRight(final String id);
}

